<?php
class tags_mod extends CI_Model 
{
	function getTags($u_id)
	{
		$this->db->where('u_id', $u_id);
		$query = $this->db->get('tags');
		return $query;
	}
	function delete($t_id)
	{
		$this->db->where('t_id', $t_id);
		$this->db->delete('tags');
	}
}